A dummy custom instance slot. More...
Public Member Functions | |
ShaderInstanceCustomDummySlot () | |
~ShaderInstanceCustomDummySlot () | |
void | setTypeName (const nkMemory::StringView &value) |
virtual unsigned int | getDataByteSize () override |
virtual void | fillDataBuffer (Entity *caller, void *buffer) override |
![]() | |
ShaderInstanceCustomSlot () | |
virtual | ~ShaderInstanceCustomSlot () |
nkMemory::StringView | getTypeName () const |
nkMemory::StringView | getDataIdName () const |
void | setDataIdName (const nkMemory::StringView &value) |
A dummy custom instance slot.
Used as a place holder when importing shaders featuring custom slots. The dummy slot will have to be replaced by the application knowing about the precise custom slot to use, after resource loading.
nkGraphics::ShaderInstanceCustomDummySlot::ShaderInstanceCustomDummySlot | ( | ) |
Constructor.
nkGraphics::ShaderInstanceCustomDummySlot::~ShaderInstanceCustomDummySlot | ( | ) |
Destructor.
void nkGraphics::ShaderInstanceCustomDummySlot::setTypeName | ( | const nkMemory::StringView & | value | ) |
Typename setting for identification.
value | The typename description. |
|
overridevirtual |
|
overridevirtual |